package com.lyc.tool;

import java.util.ArrayList;
import java.util.List;

public class Msg<T> {
	private String data;//存储字符串
	private int code;//存储状态码
	private List<T> list =new ArrayList<>();//存储集合
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	
}
